home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / sunrpc / getrpcport.man < prev    next >
Encoding:
Text File  |  1989-03-31  |  1.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GETRPCPORT                RPC Services                 GETRPCPORT
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      getrpcport - get RPC port number
  10.  
  11. SSYYNNOOPPSSIISS
  12.      iinntt ggeettrrppccppoorrtt((hhoosstt,, pprrooggnnuumm,, vveerrssnnuumm,, pprroottoo))
  13.           cchhaarr **hhoosstt;;
  14.           iinntt pprrooggnnuumm,, vveerrssnnuumm,, pprroottoo;;
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      ggeettrrppccppoorrtt returns the port number for version _v_e_r_s_n_u_m of
  18.      the RPC program _p_r_o_g_n_u_m running on _h_o_s_t and using protocol
  19.      _p_r_o_t_o.  It returns 0 if it cannot contact the portmapper, or
  20.      if _p_r_o_g_n_u_m is not registered.  If _p_r_o_g_n_u_m is registered but
  21.      not with version _v_e_r_s_n_u_m, it will still return a port number
  22.      (for some version of the program) indicating that the pro-
  23.      gram is indeed registered.  The version mismatch will be
  24.      detected upon the first call to the service.
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0              6 October 1987                         1
  64.  
  65.  
  66.  
  67.